Carbon


FSpSetFInfo

Header: Files.h Carbon status: Supported

Sets the Finder information about a file or directory.

OSErr FSpSetFInfo (
    const FSSpec *spec, 
    const FInfo *fndrInfo
);
spec

A pointer to an FSSpec structure specifying the file or directory whose Finder information will be set.

fndrInfo

A pointer to information to be used by the Finder.

function result

A result code.

DISCUSSION

The FSpSetFInfo function changes the Finder information in the volume catalog entry for the specified file or directory. FSpSetFInfo allows you to set only the original Finder information—the FInfo or DInfo structures, not FXInfo or DXInfo.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)